import http from "./http";

const login = async (params) => {
    const res = await http.post("/sign/in/", params);
    return res.data;
}

const userList = async (params) => {
    const res = await http.get("/users/", params);
    return res.data;
}

export default {
    login, userList
};



